import React, { Component } from 'react';
import {NavLink} from 'react-router-dom';

export default  class MyNavaLink extends Component {
   
    render() {
        //标签体内容是一种特殊的标签属性
        console.log(this.props)
        return (
            <NavLink className={({ isActive })=>"list-group-item"+(isActive?" highShow":"")} {...this.props}/>
        );
    }
}
